correct partial switching animation logic.