 
     if @os.android and @os.version <= "2.1"
       @transitionAnimation = false
+
+    if @hideUrlBar is true
+      @hideUrlBar()
 
   goToPage: (targetPanel,options) ->
 

  targetPanel: ''
  pageHistory: [window.location.hash]
  os: {}

  # options
  transitionAnimation: true

    @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|$)")

