CMS-3078 Detail Pane - Preview for content of type Media/Image

- fixed case when image is shorter than the preview panel in horizontal mode