Fix for IE11 transitionEnd not firing

Fixes issue #51