     KD.getSingleton("mainView").enableFullscreen()
 
     @addSubView @slider = new Slider
-      # direction : Slider.directions.topToBottom
+      directions : Slider.directions.topToBottom
 
     @slider.addPage page1 = new Page
       content  : 'Page 1'


    pref = {}
    pref[key] = "#{direction}%"

    props = ['webkitTransform', 'MozTransform', 'transform']
    pref[prop] = "scale(.8)"  for prop in props

    if coord is X_COORD
      currentPage = pages[current][@_coordsY[current]]

  constructor:(options={}, data)->

    options.cssClass = KD.utils.curry 'kd-slide', options.cssClass
    options.scale    = 0.8

    super options, data

    @pages     = []
