added different transitions to navbar