Glad to hear you are ok! That could have ended a whole lot worse!
I had a similar experience awhile back when while in the right lane on the freeway, the left lane backed up, I heard squealing tires and looked to my lef,t a kid in a mustang had locked em up trying to avoid the car in front of him, since he was right next to me I hit the brakes, at the same time he swerved into my lane and did a 360 right in front of me and ended up on the right shoulder with 2 flat tires. It was sheer luck I hit the brakes when I did.