Adding support for snapped layout in Windows 8.