Added css classes to the next/prev links