updated CSS transition