A model of car-following behavior at sags