correct css transitions