makes the target value jump back to target min when target max is reached