Fixed context menu focus-locking and made drawer close by clicking outside it

Fixed some bug where the focus-lock class isn't removed when the context
menu is closed. Also, prevented drawer from being focused when drawer is
closed. Finally, when the document is clicked and it is not the drawer,
close the drawer if it is open.
Styled context menu a little bit.
Enabled drag & drop sorting for bookmarks (but doesn't save sort)

In order for a bug-free sorting, had to modify dragsort again.
* Used outerWidth instead of width, as box-sizing is border-box.
* Preventing auto-scrolling more than the max scroll.