Add hooks registering

Add hooks registering function,
Fix navbar position for hooks
Add anchors in hook list page