Fix infinite scrolling after second page