Implemented support for transitioning the main navigation when changing context and hiding navigation elements that user don't have access to.