Prev and Next images

Added the nextImage() and the prevImage() methods. Changed some returns
and comments