MainMenu.toggle Method

Toggles the state of the menu.