set the position of the image