My screen no longer does the switch to landscape orientation when I turn it to the side. No idea what the trigger was, but stopped a few months ago.
Just on the outside chance, I trust that the slider is closed, won't go into landscape if it's open at all, even a tiny bit. If not, probably a hardware issue.