Mother of toddler who died of overdose will remain in custody