Hi there thanks for brilliant answers.. I am very new to coding so pls bear with me..
I have a similar problem but I had so many changes so I have now one container(section) for over 1000 px and one for below.. works fine with display either "none" or "flex".. To make things worse I made a codeblock in each container with GSAP timeline for appropriate animations.. however since they both have pinspacing: true, and end: +=300% due to subsequent elements - the timeline in the container not on display still puts in blank space.
My question is that if I keep the layout, could I set a var to look for display=none and then kill the progress in both blocks to make it work? Or do I have to put TL1 and TL2 in the same codeblock and do the media query.. I am trying not to mess up my website of course.. hehe.. Hope someone will answer even it might be a terrible solution or weird question..