gallery z-index update