Fix navigation based on page category