'details'))) {
        return false;
      }
      return true;
    }

    function switchOpen() {
      var closed = DETAILS_HELPER_CLASS + 'closed';
      var open = DETAILS_HELPER_CLASS + 'open';

      // Toggle classes for animation
      if (document.body.classList.contains(open)) {
        document.body.classList.remove(open)
        document.body.classList.add(closed)
      } else {
        document.body.classList.remove(closed)
        document.body.classList.add(open)
      }

      // Edge fallba