Layout: Show submenu based on the mainMenu selection.