fixing the pagination moving side to side