added toggle functionality in smaller view for main menu navigation
added visible class for toggling main menu