layout reordering: fix layers

along with changing the html order, have to change the z-index values
of the layers now too.