Build dynamic page navigation