Hi everyone,    I'm trying to create an infinite carousel following this See the Pen ZOgGXB by osublake (@osublake) on CodePen by @OSUblake. You can see in the codepen that it does work but I have this weird bug that the item that needs to go in the beginning of the list gets updated too late(?) I've been banging my head to understand what's going wrong, I feel I'm missing something simple so I thought maybe someone has a suggestion.