click on card gets max z-index