change min value of slider to 1