hide overflow of pagination