I've configured an element (the red box in the CodePen demo) to move from the top of the page to end up being centered in a container.
Right now, when I scroll down, the red box doesn't ease down slowly but instead it goes down really fast (see GIF below).
Upon scrolling down, the red box also immediately goes towards the bottom of the page before fixing itself in the desired position.
Any tips on how to make the red box ease down more slowly and stay centered as the user is scrolling down? Thank you! ?