Hello. What I'm trying to do is this animation: https://yadi.sk/i/L8YWVTYsCSSpXQ
The meaning is this: a big slide takes up the whole width of the screen, and the names (first, second...) are smaller. And when you swipe a big slide is a long distance, and the names are a small distance, because they are closer to each other. I hope I've made myself clear ))). Well, anyway, I tried to put it on video.
However, I can't bind the mouse movement and the animation itself. For some reason, the blocks move a long distance. At this point, I'm trying to animate large slides.
Can you tell me where I'm making a mistake?
I use libraries:
jquery+touchSwipe (https://github.com/mattbryson/TouchSwipe-Jquery-Plugin)
Here's CODEPEN: https://codepen.io/nastya97core/pen/vYOogya
Can you help me with the code, please? Point me in the right direction, please.
Translated with www.DeepL.com/Translator (free version)