Add flip_axis parameter.
More work on drag mode, still not optimal..