fix spectrum chart transitionswith div and g