A carousel which is built out of individual per-item timelines, so that only the visible items are ever animated.
It handles most things, but unless there is only 1 item per-slide, centers the active item.
If you need a more traditional slider, check out swiperjs or splide.
Uses data-initial-slide="5" to start not at slide 1, and data-slide-to on the dotnav.
Shows how to use onThrowComplete(), and gives an example of how to keep uniform spacing when animating scale