Slight alteration to Codrop's responsive image gallery