Add the ability to choose the scale factor for the auto-fit zoom.

The factor is relative to the screen size.