Added conditional nav buttons to page nav