menu closes on browser resize