keep gesture order for transition matrix generation