removing the huge pagenavi function