(!accordionRow.is(':visible')) {
                accordionRow.show().find('.accordion-content').slideDown();
              } else {
                accordionRow.find('.accordion-content').slideUp(function () {
                  if (!$(this).is(':visible')) {
                    accordionRow.hide();
                  }
                });
              }
            }
          },

          {% comment %} Element is unchosen {% endcomment %}
          onUnchoose: function (event) {
          },

          {%