added support for detecting phone/tablet in application and forcing portrait on phone