Close the secondary toolbar when an action is performed once

Fixes #4009.

- Makes sure the secondary toolbar closes when using the first page/last page/hand tool toggle buttons, as they are usually only used once (not used in succession).
- Fixes a bug in the hand tool implementation where the `this.toggle()` function of the object was never called.
- Adds the `viewBookmark` button to the secondary toolbar because it was missing and so we can close the secondary toolbar after clicking the button (also usually used once to quickly get a bookmark link).