improved handling of images on small windows

images now resize with the window, so really big images don't ever
overflow