Slider: resize text input based on value range

Closes acardona/CATMAID#794