click on left or right of image to scroll through pages