Mobile and tablet optimalization of header menus