Construct a new Slider
$min
$max
Construct a new Slider with the given range
min
The minimum allowed value
max
The maximum allowed value