fixing codex navigation issue because of single page navigation