Open gallery in ajax popup - first image autoload