Using different Elements in a Collection Page

I have a collection list with different projects for my portfolio.
I also made a collection page using the information from my collection list.
Now in some projects I have 2 Images and in others 3-5 images.
On my collection page I am using a slider to show these images, but then most pages that have 2 images just have 2 or 3 empty white sliders. How can I make it, so that my slider on the collection page has as many sliders as images from the cms project?

Any ideas how to fix this?
Thanks for the help!

PS: sorry it’s hard to explain…

Here is my public share link: LINK
(how to access public share link)