Implemented pagination after reorder