Need help with something like flip page but different :)

Hello,

I need some help with this. It’s pretty hard to explain but i want a tumbnail gallery with rows of squares. They are all red. My idea is to flip each single square over the vertical axis in the centre of the square. At the back of the red square is a photo. So the idea is to flip it in the center and slowly the photo on the back will be visable. But i think it need some shadows otherwise it doesnt look like its turning. Anyway i hope i am clear enough because my english is bad:)
thanks