Remove old pagination logic and keep just the bits for actual scrolling pagination.