main menu screen logic