fix for issue #21, cant click on filtered tab

Fix for issue #21,
changed from click to mousedown, because since the elements are rearranged, the click always went to the previously selected tab.