disable events on legend container
css styling