Fix follow-the-scroll misbehaving on low browser width

When browser width was small, the right-side menu was taking over
the focus after every scroll, hiding the real contents - that could be
reproduced e.g. in Chrome or IE mobile.