Reformatted pagination according to Foundation rules.