added device orientation mode change trigger