implements dropdown for main menu
fixes for mobile site