Try first to scroll to see how the scroll snaps on end of elements on y-axis.
Now, click button, click inside the container, and see how scrolling behaviour has changed. The elements now snap on end of element, but with a 20px margin to container on the bottom side.