a sturdier approach to the filter buttons