Changed TextFieldWidget so hitting up/down arrow keys at edge cases moves to start/end of line.