made it that the filter closes and opens on repeatable button click