changes made so thumbnail image will appear proportionate