scrolling bug fix