Bug 961687: ShrinkingUI not sending URL. Fix mismatched 'transitionend' animation listener callbacks. r=gweng