support old android browser for transitionend. Fixes #538