Fixed onscroll display problem