added a uiview subclass that draws a gradient