add awesome z-index function for z-index management