text: var acc = document.getElementsByClassName("accordion");
  var i;
  
  for (i = 0; i < acc.length; i++) {
      acc[i].onclick = function () {
          this.classList.toggle("active");
          this.nextElementSibling.classList.toggle("show");
      }
  }
  
  $(document).ready(function () {
  
      $("[panel-fullscreen=true]").click(function (e) {
          e.preventDefault();
  
          var $this = $(this);
  
          if ($this.children('i').hasClass('glyphicon-resize-full')) {
              $this.children('i').removeClass('glyphicon-resize-full');
              $this.children('i').addClass('glyphicon-resize-small');
          }
          else if ($this.children('i').hasClass('glyphicon-resize-small')) {
              $this.children('i').removeClass('glyphicon-resize-small');
              $this.children('i').addClass('glyphicon-resize-full');
          }
          $(this).closest('.panels').toggleClass('panel-fullscreen');
      });
  });
  