now switching colors with animation