fix css transition