layout menu and submenu