 
       $('.filter-form').find('.filter-form__fieldset__headline').attr 'aria-collapsed', true
 
+      # Click event
+
       $('.filter-form__fieldset__headline').on 'click', ->
 
         that = $(this)
 
+        # Toggle fieldset contents visibility
         that.next(".input").toggleClass 'is--hidden'
 
         if that.attr('aria-collapsed') == 'true'

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


    if ($(window).width() <= 440)

      mobileFilterSwitch.show()
      filterForm.addClass 'is--hidden'

      mobileFilterSwitch.on 'click', ->
        filterForm.toggleClass 'is--hidden'

          that.attr('aria-collapsed', 'true')

    else
      mobileFilterSwitch.hide
      filterForm.removeClass 'is--hidden'

  # Calling subfunctions
  initMobileFilterSwitch()
  initFilterExpand()
  initFieldsetHeadlineClickHandler()
