Animation fixes for non webkit browsers