made endlessScrolling a module