 		paddingOffset = @_device?.paddingOffset or 0
 
 		phoneScale = _.min([
-			(Screen.width -  ((@padding + paddingOffset) * 2)) / width,
-			(Screen.height - ((@padding + paddingOffset) * 2)) / height
+			(window.innerWidth  - ((@padding + paddingOffset) * 2)) / width,
+			(window.innerHeight - ((@padding + paddingOffset) * 2)) / height
 		])
 		
 		return phoneScale

	screenHeight: 1334

iPhone6BaseDeviceHand = _.extend {}, iPhone6BaseDevice,
	deviceImageWidth: 2290
	deviceImageHeight: 2760
	paddingOffset: -120


iPhone5BaseDevice =
	deviceImageWidth: 792
	deviceImageHeight: 1632
	screenWidth: 640
	screenHeight: 1136
	keyboards:


Nexus5BaseDevice =
	deviceImageWidth: 1208
	deviceImageHeight: 2440
	screenWidth: 1080
	screenHeight: 1920

