Fix ripple position bug and css3 animation for mobile device.