I'm trying to use scrollTrigger along with navigation links. when i load the page and click the navigation link (e.g panel 4) it correctly animates to panel 4. However if i click another link after that (e.g Panel 3) the scrollTrigger does not scroll correctly. when i click `panel 1` it animates to `panel 2`.
I think i have configured the scroll trigger incorrectly. can someone pls help me?