The best interests of the child are determined by a review of the totality of the circumstances.