adjust z-indexes