Navigation fix

Fixes the next and previous navigation links