added code to disable next button when last exhibit is reached