Controling the user input in the sliders (checking min, max, step values)