Added transition to nav elements