made color transitions smoother