add isotope to gallery grid and blueimp modal view