scrolling through picture via prev/next button