refactored infinite scroll to have a default callback and work with a different starting page