getting close to having working clickable images with next/previous