update to css transitions