Add proper z-index to wrapper div