Fix prev / next formatting