if (o.selection.mode == "x")
                pos.y = pos == selection.first ? 0 : plot.height();