main menu now returns to the previous page