make-cursor-line-fully-visible

make-cursor-line-fully-visible is a variable defined in `C source code'.
Its value is
t


Documentation:
Non-nil means to scroll (recenter) cursor line if it is not fully visible.

You can customize this variable.