CSS can probably do that
- Smooth scrolling
- Lazy-loading content
- Keeping elements stuck in the viewport while scrolling
- Smoothly scrolling in & snapping elements into place
Even cooler stuff coming up
- The Future of CSS: Scroll-Linked Animations with @scroll-timeline (Part 1) - Bramus Van Damme's very detailed experimentations with CSS scroll-linked animations.