Adding paging support to the demo app.