changed the z-index to the right element