Rewrite z-index values to be more manageable.