Closes dropdowns when scrolling