removes ui.sortable from tree & directory