Animating a CMS infinite scroll

I’ve seen a couple of posts on this topic with no replies. Still, I will give it a shot :slight_smile:
I created an infinite scroll of cards pulling from a CMS list.
The issue comes when a new item gets added to the collection, and then the animation doesn’t work because the length parameters of the div changes.
I tried using percentage values for the x position, but that doesn’t seem to work:

Any Ideas?

Here is my public share link: