Adding transition to the nav section in navigation bar.