Added centering of the screen after re-indenting and sorting (#337).