Galleryview.js bug fix #2