added classes for CSS transition