Infinite scroll functionality implemented with json data.