angular logic and animation for hiding filters