window.__STYLEGALLERY_ASSETS__={}; const showAnim = gsap.from(".main-tool-bar", { yPercent: -100, paused: true, duration: 0.2 }).progress(1); ScrollTrigger.create({ start: "top top", end: "max", // markers: true, onUpdate: (self) => { self.direction === -1 ? showAnim.play() : showAnim.reverse(); } });