remove old parent relationship to an li element