thanks for the feedback, your solution seems to be the right one for my project.
I have two issues, with respective questions:
1- the project contains popups which, when opened, should block mouse swiping. Is it possible to write a function - which blocks the swiping of the mouse - which I can call with the buttons that start the popups, and a function - which reactivates the swiping of the mouse - which I can call with the "close" button inside the popup?
2- To the reverse swipe (prev): if I perform an "energetic" swipe, the behavior is what I expect: the slides break down completely, on exit. However, if I do a "lighter" swipe, the slides will partially break up (video below). How can I fix this behavior?