Trigger a DOM event when the transition finishes.  Fixes #14.