anchor.diff:  
           // close panel function
           var close_panel = function() {
  -          toggle.state('open-webgl');
  +          panel_toggle.state('open-webgl');
             var $panel = $('.special-panel');
             if ($panel.length) {
               $('.special-panel').hide();
  
positive.code:           };
          }
  
          var toggle = cozy.control.widget.toggle({
            region: 'top.toolbar.left',
            template: '<button class="button--sm" id="webgl" data-toggle="button" aria-label="3D Model">3D Model</button>',
            states: [{
  
negative.code:         })
  
          // Open SU panel in WebGL if SU link is clicked
          // If in a11y mode, open database record
          var click_handler = function(event) {
            var s = event.target.getAttribute('data-uid');
            if ($('body').hasClass('a11y')) {
              window.open('https://doi.org/10.3998/gabii.1.' + s, '_blank');
            } else {
              var SendMessage = gameInstance.SendMessage;
              var $panel= $(".special-panel");
              function getToUnity(s) {
                SendMessage("WebCommunicator", "ShowString", s);
              };
              var gameContainerDiv = document.getElementById("gameContainer");
              if ($('body').hasClass('panel-open')) {
                FocusCanvas("1");
                gameContainerDiv.focus();
                getToUnity(s);
              } else {
                open_panel();
                FocusCanvas("1");
                gameContainerDiv.focus();
                getToUnity(s);
              }
            }
          };
  
  