fix Firefox animation bug

fix Firefox animation bug, Now animation work in all browser, Tested in Chrome, Firefox, Safari, IE11, IE10