increases the z-index to avoid overlay collision