added hidden/open filter functionality