fixing spinner animation on non webkit browsers