Add transitions to navbars.