add css transitions and webpack support