If I understand correctly you don't want a progress bar so much as a seek bar. You can still use code in the Video-Panorama example as a starting point. Focus on the mouse interaction with the play head. In your case, you will test for the closest click-stop X on mouseup. You might do that by testing the mouse x position and finding which, of several ranges, it falls in. You can do that with a series of nested "if" tests. Depending on the result, snap your slider to the corresponding click-stop and show the corresponding pano.