Added pointer-events:none attribute to colorlegend div o it does not interfere with events on underlying viewport