switch transition finished