Submenu support for dropdowns

I have added support for submenus in the dropdowns