fix up dat nav

- make it the same width as the body
- left-align the search
- add a brand link to the home page
- close the menu when the user clicks outside of it
add has to root path