position the image correctly