final changes to progessBar.