Change to z-index when hiding menu.