I need to make a gallery like this i javascript:

3D Cube Grid Gallery With 3D Flip Preview - ActiveDen

But I'm not very good at it, so I need some help.
Does anyone know a gallery that look like this or how I make it with javascript?
It's importent with flipping the pictures.


Thanks in advance! :-)