Finally giving up and using jQuery.
Getting rid of the footer and making the filter-menu reactive in different widths.