bugfixes for container xScale, programmatic panning