tweaked legend and tooltip styles