added img-gallery.js opening new page, can't get first img