docstringify comments, readable variable names (#26346)
* docstringify comments, readable variable names, removed `m.pageoffset = 0`
`m.pageoffset = 0` is the default for the implemented menus. If a menu needs to start at a different offset, it should be able to.
* reverted `m.pageoffset=0`