Man charged in toddler's death in court