Refactor the position of the images