Handle large images in the contextviewer.

Images didn't always fit on smaller screens.
Now they will be resized, if screen size narrower than the image.