add effect event handlers to body using delegation.

This is unfortunately necessary because in gh-book, the toolbar is sometimes
"refreshed", that is reloaded, and this causes all events tied to anything
in the toolbar to be lost. Click events themselves only survive because they
are bound to body. So we follow suit here.