scale the axis during zoom