Add editing and css animations after editing