Implements infinite scroll loading