 		@deviceType = defaults.deviceType
 
 		_.extend(@, _.defaults(options, defaults))
+
+		window.addEventListener("orientationchange", @_orientationChange, true)
 
 	_setup: ->
 

	# PHONE ORIENTATION

	@define "orientation",
		get: -> @_orientation or 0
		set: (orientation) -> @setOrientation(orientation, false)

	setOrientation: (orientation, animate=false) ->


		@handsImageLayer.image = "" if @_orientation != 0

		@emit("change:orientation", @_orientation)

	_orientationChange: =>
		@emit("change:orientation", window.orientation)

	isPortrait: -> Math.abs(@_orientation) != 90
	isLandscape: -> !@isPortrait()
