work next/prev thumbnails