fixing slider and positioning