Build image gallery with modal
jQuery working with responsive images