Preview resize 12319

The Preview viewport should now resize when the right panel is resized.

To test:
 - Browse to an Image and select the "Preview" tab on right.
 - Resize the right panel, using the drag handle.
 - The viewport should resize when you stop the drag (larger and smaller).
 - When a new image is selected and loaded into viewport, should still fit current size.
 - Various combinations of change in panel size, tab selection and image selection should "just work".