set thumbnail size to height/width of container.
Merge pull request #44 from ample/fix_thumbnails

set thumbnail size to height/width of container.