RangeInput - move element creation to constructor