increment z-index after visibility