Adding Appending to Pagination Links section - ported from L3