update menu animation

implemented animation for menus