Hg 88 swipe in gallery

swipe in gallery
thumbnailer to use jpg! why we have used png?
small refactor of medialightbox
All thumbnails served as `jpg` ? It may be sub optimal for some images.