         else
           that.attr('aria-collapsed', 'true')
 
+    # If not in 's', but resizing to 'm' or bigger, revert form in case of need
+
     else
       $('.filter-form')
         .find('.col-form-inner .input').removeClass 'is--hidden'
       .find('filter-form__fieldset__headline').attr 'aria-collapsed', 'true'
 
+
+  # In mediaquery 's', the whole advanced search form collapses (not just only teaser look, like collapsed state on desktop)
+  # Dynamically adding the according switch button here:
 
   initMobileFilterSwitch = ->
 

initFilterForm = ->
  initFilterExpand = ->

    $filterForm = $('.filter-form')

    collapseLabel = I18n.t 'js.less_filter_options'
    offer_filter_open = sessionStorage.getItem("offer_filter_open")

    # Detect or set state: offer_filter_open
    unless offer_filter_open == "true"
      $filterForm
              .addClass 'filter-form--isCollapsed'
