Slider now takes negative and decimal numbers.