If you had taken the lane and kept it, they would have been forced to change lanes (there was a free lane next to him). Not always the best idea in every situation, but when traffic is slow and sparse, I think it is usually the best. In this case, you gave the car enough room to squeeze by you in the same lane and he took it.