Fixed motor jitter after bumps are tripped

When the motor stops moving because the front bump or rear bump was
tripped, the motor would start again for one loop cycle until the state
changed. This fix added a conditional the prevent the extra movement.