Handle click on progress bar