Unwanted screen rotation

About a week ago, my iPad mini screen suddenly began to rotate when choosing widescreen versus full screen on my stick up cam app. This requires me to rotate my pad back and forth between these two modes. Does not help to lock the iPad screen. Any ideas? This is very frustrating.