TextEdit:  If cursor pos reaches end, move to start, and the opposite