Added a UIView class method to animate the change of the background color in the GradientView