animate using css3 transitions with fallback to jquery