added utility function for single page navigation