added animation for menus