Updated to work with latest HSlider changes