page navi logic modify