putting the cursor at the end of the field on click. fixes #43 fixes #84