prevSlide = () => {
if (this.state.currentImageIndex > 0) {
this.setState({ currentImageIndex: this.state.currentImageIndex - 2});
}
};
nextSlide = () => {
if (this.state.currentImageIndex < this.state.images.length - 2) {
this.setState({ currentImageIndex: this.state.currentImageIndex + 2});
}
};