Merge "Adding optional gesture direction to gesture state" into main