added simple implementation of infinite scrolling. some issues to work on...