overlay position and index dom