added sample progress bar logic
Merge branch 'master' of https://github.com/rexos/kokko