choosing 50 evenly spaced steps for the slider