Slider for number of samples