add modernizr and fix transitionend