added infinite scrolling on index