Update nav on window resize, too.
Merge pull request #2 from mbostock/fix-resize

Update nav on window resize, too.