added pagination view and adapter