fixed #1 Firefox animation problem