small refactor
fotorama.js as gallery implementation