z-index sorting for OpenSeadragon