rotation and main menu