style prettified, add previous and next link