How long between the first swerve and the accident did the OP have? You wouldn't claim he could have avoided the accident unless you knew this, right?
I actually did take a defensive driving class a few years ago. There was about a second or two between the first swerve and the accident.