Bug 1020847 - Add handwriting IME for Simplified Chinese

create a new function for centralizing the handling of press move on handwriting pad.