some ui fixes

legend not fixed, selectedkey labels a bit off, rest looks fine