z-index for the first loop too