Fix ajax navigation around all pages