a vehicle decelerates and then accelerates