     resolve_issues: ->
         log_router '/resolve_issues'
         clear_modals()
+        $('ul.nav li').removeClass('active')
         @$container.html @resolve_issues_view.render().el
 
     events: ->
         log_router '/events'
         clear_modals()
+        $('ul.nav li').removeClass('active')
         @$container.html @events_view.render().el
 
     namespace: (id) ->
         log_router '/namespaces/' + id
         clear_modals()
+        $('ul.nav li').removeClass('active')
 
         # Helper function to build the namespace view
         build_namespace_view = (namespace) =>

    datacenter: (id) ->
        log_router '/datacenters/' + id
        clear_modals()

        # Helper function to build the datacenter view
        build_datacenter_view = (datacenter) =>

    machine: (id) ->
        log_router '/machines/' + id
        clear_modals()
        $('ul.nav li').removeClass('active')

        # Helper function to build the machine view
        build_machine_view = (machine) =>
