adjusting z-indices of layers