code: function psClose(slider, param) {
        if (slider && slider.style.width !== 0 && slider.style.width !== 0) {
          if (param.cloak) content.css('display', 'none');
          switch (param.side) {
          case 'right':
            slider.style.width = '0px';
            if (param.squeeze) body.style.right = '0px';
            if (param.push) {
                body.style.right  = '0px';
                body.style.left   = '0px';
            }
            break;
          case 'left':
            slider.style.width = '0px';
            if (param.squeeze) body.style.left = '0px';
            if (param.push) {
                body.style.left   = '0px';
                body.style.right  = '0px';
            }
            break;
          case 'top':
            slider.style.height = '0px';
            if (param.squeeze) body.style.top = '0px';
            if (param.push) {
                body.style.top    = '0px';
                body.style.bottom = '0px';
            }
            break;
          case 'bottom':
            slider.style.height = '0px';
            if (param.squeeze) body.style.bottom = '0px';
            if (param.push) {
                body.style.bottom = '0px'; 
                body.style.top    = '0px'; 
            }
            break;
          }
        }
        $scope.psOpen = false;
      }
docs: /* Closed