How do I freeze the spreadsheet screen?

The screen often slides to the left

Please detail a bit the issue.

Also, your tags are not good. See guidelines for asking.

Put the cursor in the first row of the rightmost column that you want to freeze, choose menu View- Freeze Rows and Columns.

Tested with LibreOffice (x86); OS: Windows 6.1.

Add Answer is reserved for solutions. If you think the answer is not satisfactory, add a comment below, or click edit (below your question) to add more information. Thanks.