added mobile safe by restricting animations on mobile devices