fixed the length of slider

fixed the length of slider