add pager widget,optimize need to be done