resizing: don't scale by pixel ratio when ...

... graph container is absolutely positioned

scaling should only be needed when the graph's div element grows/shrinks
from resizing.

The element size on the screen should stay the same when it has an
absolute position.
update combined script