In determining what custody arrangement would be in the best interest of the child, the court shall consider all relevant facts including, but not limited to, whether any member of the family abuses alcohol or other drugs or has deserted the child and whether the parties have a history of being able and willing to cooperate in matters concerning the child.