replace lightbox with blueimp-gallery for media gallery