fix right and left scroll legend in terms panel
Merge branch 'develop' into multiquery