-added bug on drag 
-added getSelectedCategories() method