fixed typo and added support for reporting direction change to delegate