prevent infiniteScrolling being triggered multiple times.