Reusable ScrollListener React Component
ScrollListener component anywhere you need to listen to the scroll event. Then pass a function into the
scrollHandler prop. This is a required prop. Because you include this component in other components, the function you pass has access to any props or state of that component.