Fixed loading on pagination