A generic infinite_scroller constructor.