Added switching animation