Update abstractSlider to use only 2 elements