added animation to nav