the 'flip' word in the sequences vocabulary does this, and its definition is almost identical to yours. \ flip help