You might want a switch that smoothy turns on and off. Give it a negative value for the hysteresis, Vt.
–Mike