My wife had the same issue with her note 4 over a year ago. This is going to sound like I'm trolling you but I fix it by slapping the back of the phone a few times. I held it up vertical with one hand and slapped it on the back with the other. Apparently the accelerometer gets stuck on some of these phones. My wife hasn't had a problem since. I hope this helps.