filter styling and event handling