Correct horizontal scrolling.

Horizontal scrolling should be synchronized between element and axes
layers.