improve legend styling