Add transitions to navbar