fix the scroll bug when scrolling and tap