added a useful gradient view class