added a next button for images