Add smooth acceleration and braking