fixing css z-index bugs