Hi @mvaneijgen thanks for the reply!
What i am trying to create is a horizontal scroll (when scrolling vertical) and have the blocks stagger (increase the space between them) on scroll like on https://lenis.studiofreight.com/. On the example there is a part with 5 blocks that scroll horizontal the space between the blocks increases on scroll down and decrease on scroll up.
The codesandbox i provided does all that but soms of the blocks move with a bit of a stutter, not all of the blocks though..
The stutter is what i am trying to get rid of.