Fix the rotation issue
Support all orientation in demo app