new version of core; close to working clickable image with next/previous