Reduce the number of disk writes whenever the cursor changes position