zindex directory based layout completed