How to simulate antenna vibration?

Hello! This is my problem:
The car is at rest, and it starts moving forwards. The red antenna is supposed to vibrate a bit because it was at rest at beginning. The opposite should happen when the car slows down and stops. How should I simulate the vibration of antenna?