changed scrolloffset so that cursor shows in the middle of the file