Show 2 images in product gallery

Hi there. I’m trying to customize my product gallery.
I want to show 2 images, instead of once, at a time.

I already did come CSS customizations, but the slider is not working well. It jumps, and when I click in the last photo, it shows all blank.

Anyone has an idea on how to solve this?