Collapse navbar when loading dashboard from UI