alternate approach for z-index issues