*adding animation to the navigation