Implementation of infinite scroll on index page