Use moveCursor methods instead of setting cursor position absolutely

closes #1