To hide the table of contents, click on your Mac.
Open a document, then do any of the following:
Move to the next or previous line: Press the Up Arrow or Down Arrow key.
Move to the next or previous page: Press the Page Up or Page Down key. If your keyboard doesn’t have these keys, press Fn-Up Arrow or Fn-Down Arrow.
Move to a specific page: Press Control-Command-G, type the page number, then press Return or click Go to Page. You can also choose View > Go To > Page (from the View menu at the top of your screen).
To see all the keyboard shortcuts you can use in Pages, see Keyboard shortcut symbols for Pages on Mac