opimize method in pager
added refresh event to rebuild filter/pager