fixed bug where offscreen-menu not displaying correctly on small screen width