fixing responsiveness of menus