Handle clicks on progress bar