Reverting to the original version. Adding a onScroll() event.