calc mouse position based on wp8 device orientation.