The suspected cause of the orientation problem is probably the games that requires landscape mode. They reset the phone to landscape.
The simple cure to this is to download an app called "level" from the store, there are two of them available, you can download both. Run it a few times and your...