pagination on query, page move,ent required. need to,get value from config