add option to limit drag directions