restrict motion to vertical or horizontal to reduce scrolling conflicts