set thumbnail size to height/width of container.

Fixes thumbnail overflow issue. 
![Screen Shot 2013-04-12 at 4 24 25 PM](https://f.cloud.github.com/assets/354485/374988/1541681e-a3af-11e2-957f-b072c495ed16.png)