improve click behavior for filter