Hide invisible elements and introduced dynamic numbering