How to animate this menu?

The example shown in this topic may help.