updated image centering