devices pagination