adjust the tabs and menus