Here is an example of horizontal and vertical section scrolls while a user scrolls up and down.
See the Pen ScrollTrigger Layered Pin by Puneet Sharma (@webdevpuneet) on CodePen.
Another example: ScrollTrigger feature: containerAnimation
See the Pen Horizontal "containerAnimation" – ScrollTrigger by Puneet Sharma (@webdevpuneet) on CodePen.