updated gallery.js