automatically set page params in URL fragment based on page/page objs