set autoScroll attribute at the right level to add scrollbar to legend on isc viewer

fix this bug: https://bugs.launchpad.net/oq-platform/+bug/1229207