Use Intersection Observer instead of Scroll Events

Use Intersection Observer instead of Scroll Events