ny appeals custody reversal