Added previous/next buttons.