Zoom effect on scrolling

I want to have a zoom effect on scrolling. I have an SVG image placed into a section, I’ve applied an interaction animation effect to this image - to scale the height while scrolling in view. How can I make the section change its height according to the animation so the sections above and below it would move as well? Or is there any other way to achieve this zoom effect? Thanks!