add css transitions