click anywhere to turn off legend on desktop. closes #1214