Progress bar version2

@st3fan I resolved the merge conflict :)
Would appreciate the team's comments. 

Thanks!
Nit: Space before and after "{"