added color gradient animation to bar view