Store direction identifier instead of movement function inside transitions
Alter logging