change sawtooth to reverse sawtooth