Added text switching animation