Lightbox Loop Code shuts down navigation

Hello, pretty much what the title says. I’ve used this guy’s code to make my lightbox loop on the page “Bringing it all together”, but it’s shutting down my navigation. The links are clickable, and even seem to be loading the relevant page, but the viewport doesn’t change, unless you reload.

If I delete the custom code in the page setting, it fixes the problem, but I need to have the lightbox loop. I’m open to other suggestions on looping if they exist, as well.

Thanks in advance

Here is my site Read-Only: [LINK]

The code used in that project relies on old and conflicting versions of libraries used in Webflow provided assets. I would not use it. I would switch to swiper.js and run with that.