I noticed that the position of the current line is jumping to the top, middle or to the bottom of the window on closing a fold using <Tab>.