page navigation mostly working