cleared the main menu and navigation bar