pause menu and exiting to title