Add child to collapsed element and adding previousParent to dragInfo