Update the z-index of content viewer.