fix bug lag when scrolling