put slider to condition if