Isolate navbar, implement flash messages (help from http://stackoverflow.com/q/8705590)