fixed the problem with menu not automatically appearing unless scrolled