Carousel in Css

I can create a Carousel from an image array.
When in use, it uses a horizontal swipe of your finger.
But if the user wants to swipe vertically, how do I have to modify the Css so that it can be used vertically?

Note: I don’t want to create an Image inline list, I want my images to be in only one cell.