Javascript Intersection Observer

Re-write your scrolling functions for better performance.

credit: Denys Nevozhai, unsplash.com