JSFiddle - React, Tailwind, and code Playground

HTML

<script src="http://hammerjs.github.io/dist/hammer.min.js"></script>
 <div class="gitem-wrap row">
		  <div class="gitem">
			<div class="well">
				<figure class="img-item"><img src="http://imaging.nikon.com/lineup/dslr/d4/img/sample/img_01.png" class="img-responsive"></figure>
				<article>
					...
				</article>
			</div>
		  </div>
		  <div class="gitem">
			<div class="well">
				<figure class="img-item"><img src="http://imaging.nikon.com/lineup/dslr/d4/img/sample/img_03.png" class="img-responsive"></figure>
				<article>
					...
				</article>
			</div>
		  </div>
</div>

CSS

/* --- Blog Grid --- */
.gitem {
  padding: 0 15px;
  display: inline-block;
  width: 100%;
}
.gitem h3 {
  font: normal 12px 'WebYekan'!important;
  color: #666;
  line-height: 18px!important;
}
.well {
  box-shadow: 0px 0px 2px #eee;
  direction: rtl;
   position:relative;
  display: block;
  min-height: 20px;
  margin-bottom: 10px;
}
.well article {
  padding: 10px;
}
*, *:before, *:after {box-sizing:  border-box !important;}
.gitem-wrap.row {
  -webkit-column-count: 2; 
  -moz-column-count: 2;
  column-count: 2;
  -moz-column-gap: 0;
  -webkit-column-gap: 0;
  padding: 40px 0;
}
.img-item.liked{border:3px solid #333}

JavaScript

$('.img-item').each(function(){
    var mc = new Hammer(this);
    mc.on("doubletap", function() {
		console.log('Double tap!');
		alert('Double tap!');
        $(this).toggleClass('liked');
        return false;
    });
});