Check out my jsfiddle demo:
I have noticed that when you click to rotate the larger container, it overlaps the smaller one.
This poses a problem as I am attempting to create a picture gallery where users can rotate and enlarge images. However, some of the images are very long and skinny. I would prefer if the rotated div pushed down the div below it instead of overlapping.
Any suggestions or ideas on how to achieve this?