Fix jump links

* only add jump links if the side menu is used
* only add jump to H2s

Signed-off-by: Timo Dörr <timo@latecrew.de>