simple_gallery upgrade

you can make multiple instances of simple_gallery
also is now able to call function from the instance
example  gallery.next()