Improved rendering of submenus in responsive mode