Animation fix for non-wenkit browsers