improve styling as matrix widget