Fixing "supported interface orientation" bug.

The code implementing the supported interface orientation behaviour was
commented out. This commit fixes that.