Resize picture to fit window