     else
       throw new Error "#flight or .content not found."
   
-  setScroller: (wrapper) =>
-    
-      if @iScrollInstance? then @iScrollInstance.destroy(); @iScrollInstance = null
-    
-      window.setTimeout =>
-        @iScrollInstance = new iScroll(wrapper.getElementsByClassName('wrapper')[0].id)        
-      , 0
   # detects user agent being used
   detectUserAgent: ->
     userAgent = window.navigator.userAgent

class Flight
  version: '0.0.1'
  isTransitioning: false
  startPage: ''

  pageHistory: [""]
  os: {}
  hideUrlBar: false
  # options
  transitionAnimation: true
  speed: '0.4s'
