This gist demonstrates how to use OpenSeadragon in order to overlap two tiled images and switch between them using an opacity slider control.
When the opacity slider is moved a problem occours if the wrapHorizontal option is used. Infact, only the central image is affected by the opacity changes while the ones repeated on its left and right are not.