dismiss "Categories" drop-down menu when a category link is clicked (bug 1100688)

https://bugzilla.mozilla.org/show_bug.cgi?id=1100688

r? @ngokevin 

I tried doing this with a `<label>` and checkbox with CSS, but I couldn't get it work with the `mouseover` case below.