fit image in view on reset (and open)