rearrange expectations viewer layout
fix for expectations viewer in Firefox: no svgElement.offsetWidth there