Fixed accelerometer for windows store apps device orientation

Fixed accelerometer for windows store apps device orientation. Windows Phone 8.1 and Windows Store 8.1 require different handling of x and y values from the accelerometer based on the device orientation.