Implemented infinite scrolling.