   targetPanel: ''
   pageHistory: [window.location.hash]
   os: {}
+  hideUrlBar: false
 
   # options
   transitionAnimation: true


    if @os.android and @os.version <= "2.1"
      @transitionAnimation = false

  goToPage: (targetPanel,options) ->


    @os.fennec = (if userAgent.match(/fennec/i) then true else false)
    @os.desktop = not (@os.ios or @os.android or @os.blackberry or @os.opera or @os.fennec)

  hideUrlBar: ->
    setTimeout (->
        window.scrollTo 0, 1
      ), 50

  hasClass: (ele, cls) ->
    ele.className.match new RegExp("(\\s|^)" + cls + "(\\s|$)")

