pressing escape to return the main menu