Added previous, next and close links