only run setInterval if immediateCheck is enabled
only run setInterval if immediateCheck is enabled

seyb/angular2-infinite-scroll,orizens/ngx-infinite-scroll,orizens/ngx-infinite-scroll,orizens/ngx-infinite-scroll