fixed infinite scroll event firing multiple times when scrolling