added progress bar, user can click to change position