update main form location when key down