[code] more simple and elegant way to position image in the center