cleaned up page navigation