Added "fit to window" for large images

Images that are larger than the window, will now fit into the window, properly.