use more reasonable z-index for crossfade to prevent flickering navbar