Retain prev/next classes on disabled pagination links

Removing the prev/next classes on their respective pagination links when they are disabled makes styling them difficult as they then have the same specificity as the numbered (page 1,2,3) links. It's easier in CSS to target .prev.disabled than just .disabled, because the latter requires extra work to target the desired link since other links in the pagination might also have the .disabled class.