modified z-index responsiveness