giving the overlay z-index