scrolling gallery with templated popovers