rm reference to direction in movementHandler