added support for range sliders, but broken single value sliders