moved filter buttons into partial, refactored