improve menu scrolling behavior