bug: transitionend is not fired when tab has no focus