Added smooth braking.