animation now works in all browsers