Forcing landscape orientation when phone is upside down
Depending on what version of android/ROM you ate running there should be an option to lock the orientation. It could be in the quick settings in the notification drawer, or settings > display > orientation.