fixed display of pagination