adding a class to next and previous posts link