Fix ajax navigation