jump to the last positino when reopening a file