finished css xindex and drag and drop