Enabled screen auto-rotation based on device orientation

Used ActivityInfo to set screen orientation to be unlocked to any particular orientation. If device has screen rotation enabled, screen now rotates automatically.