main menu swithcing between layouts