gallery: previews + auto-flip