working on display db items page by page