tidy thumbnails

prevent thumbnails from growing to strange sizes or floating in the
middle of the page