enabled drop-down menu
turned on the subcategories and simplified the code to load the categories and subcategories dynaically