slider fix initial image centering