fixing menus in landscape mode