Custom slider without Slider component


I started to build a slider on Webflow for a team section. I didn’t use the slider component because I thought it wasn’t appropriate for my case. So I build it with div blocks and stuff and I think Im stuck to setup arrows interactions and after many tries I think I took the wrong path.

Here’s the preview of what I did :

I manage to make it work for one slide but can figure out how to manage other slides and how to get back to the start after arriving at the last slide.

Thanks in advance for your help,