changed z-index to approprirated