css  for animation gone for small screens