Add css transitions