legal custody battle