fixed squished/streched images

used max-height instead of plain height