It is feature of interactive PDF. Look for a tutorial how to use hyperlinks within document. TOC as a source of hyperlink and adjacent head chapters as a anchor points.
One way to do this would be to build the TOC using Cross-References.
And is this a better way than by means of hyperlinks and anchor points? Is it simplier?
Probably about the same.