added custom progress class to draw progress on the bar