added sidebar manipulation for filter options(js)