added previous/next links - not working