remove bug during scrolling