Fixes #1373.
More buttons fixes.
Fixes #1375.

Also, fixed extension page and fixed horizontal scrollbar issue.
Fix collapsing nav.
Fixes sidebar popovers.

Sometimes breaks if you go really fast, but I can't figure out why.
Merge pull request #1384 from xiaohutai/feature/bolt2

Fixes #1373 and #1375.