correcting z-index of the main content