Implements infinite scroll on home page