corrected TransformToOrientation to work properly on Surface2 device with all rotations
removed debug stmts