Image alignment in the image slider