some small changes of links next and previous