updated resizing code to support rotation and snapping of app on winrt
Merge pull request #3924 from MSOpenTech/winrt-rotation-fix

Updated window resizing code to support rotation and snapping of app on winrt