Fit-to-window

Fixed scrollbars appearing unnecessarily.