Hello, thank you for your answer. I have tested the code again myself and the issue seem to be solved. I had another horizontal slider that was bugging on mobile, but I managed to fix that issue myself. Maybe the bug from the horizontal slider was messing up this slider. Anyway, thank you for looking into it, I hope it was not to much of an inconvenience.
Kind regards!