Regarding next and previous posts, try the following: