adding pagination plugin