fix management of 'active' class on filter divs