Place the cursor back to the top of the buffer when opening files
Minor optimization