When deleting a buffer, move to the next one first