re layout the mainmenu