fix for configuration changes due to orientation
Merge pull request #1 from rhematree/master

fix for configuration changes due to orientation