toggle one div at the time with masonry

toggle one div at the time with masonry

Hello all looked up google, this forum but could not find a solution. Hope i can get some advice.
i have several divs. 
i'd like to only open one at the time.this is my html and i have several, up to ten such sections on my page. 

  1. <div class="detailList">

  2. <div class="detail intel">
  3. <div class="item-content"><p>Procesador: Intel® Atomâ„¢</p></div>
  4. </div>
  5. <div class="detail monitor">
  6. <div class="item-content"><p>Pantalla: 7"</p></div>
  7. </div>
  8. <div class="detail os">
  9. <div class="item-content"><p>Sistema operativo: Android* 4.4, KitKat</p></div>
  10. </div>
  11. <div class="detail memory">
  12. <div class="item-content"><p>Memoria RAM: 1 GB</p></div>
  13. </div>
  14. <div class="detail hd">
  15. <div class="item-content"><p>Almacenamiento: 16 GB eMMC</p></div>
  16. </div>

  17. </div> <!-- end detail list -->

This is  the js

  1. (function($){


  2. $( function() {

  3.  var $container = $('.detailList').masonry({
  4. columnWidth: 2
  5.  });

  6.  $container.on( 'click', '.item-content', function() {
  7. $( this ).parent('.detail').toggleClass('is-expanded');
  8. $container.masonry();
  9.  });
  10.   
  11. });

  12. })($.noConflict(true));
How could i make this work so that only one of the 'item-conent' divs opens at one time?

thank you 
D