working on progress bar, crashes when click and not holding bar