show pages by z-index for smoother changing of pages