Change gallery to blueimp without bootstrap modal