Try first to scroll to see how the scroll snaps on start of elements in the inline direction.
Now, click button, click inside the container, and see how scrolling behaviour has changed. The elements still snap on end of element like before, but now with a 20px distance in the inline direction from the end of the container to the child elements.