fixed scrolling bug