added infinite scrolling for main page