Added the color slide logic.