DOC fixed the previous/next button