fixed the length of slider