fixing imageView position to prevent jumping on closing
width of image should be the same with width of window