refactor drag and drop sortable clean it up