separate mainmenu from main layout