Fix example.
Fixes error when the toolbar isn't shown on initial page load.
Don't reset focus after tapping a toolbar tab. That caused unexpected behaviour if the document was scrolled away from the insertion point.
Only publish drag end when one has actually occurred.