added animation to the menu