Fix nav links click on same page. Fixes #297