Scroll infinitely and get new content from a callback function