that’s working now, thank you!!
Could you also add {passive: true} to the event listeners? Google PageSpeed is showing the warning that you should only use passive listeners.
Thank you for looking into it!
I’ve done an implementation myself but I don’t know if it’s correct. Please update me if you have made an improved version!