fix close menu on scroll