pagination displays as it loads