rearrange z-indexes