         
     isActive: ->
       true
+      
+    isFocused: =>
+      Rondell.activeRondell is @id
     
     keyDown: (e) =>
-      if @isActive() and Rondell.activeRondell is @.id
+      if @isActive() and @isFocused()
         # Clear current rotation timer on user interaction
         if @autoRotation._timer >= 0
           window.clearTimeout(@autoRotation._timer) 

      # Create controls
      controls = @controls
      if controls.enabled
        shiftLeft = $('<a class="rondellControl rondellShiftLeft" href="#"/>').text(@strings.prev).click(@shiftLeft)
        .css(
          left: controls.margin.x
          top: controls.margin.y
          "z-index": @zIndex + @maxItems + 2
        )
          
        shiftRight = $('<a class="rondellControl rondellShiftRight" href="#/"/>').text(@strings.next).click(@shiftRight)
        .css(
          right: controls.margin.x
          top: controls.margin.y
          "z-index": @zIndex + @maxItems + 2
        )
          
        @container.append(shiftLeft, shiftRight)
        
        
      # Attach keydown event to document for each rondell instance
      $(document).keydown(@keyDown)
      
      # Add hover and touch functions to container
      @container.removeClass('initializing').bind('mouseover mouseout', @_hover).bind('touchstart touchmove touchend', @_touch)
      
      # Show items parent container
      @container.parent().show() if @showContainer
          
      # Fire callback with rondell instance if callback was provided
      @initCallback?(@)
      
      # Move items to starting positions
      @shiftTo(@currentLayer)
      
    _touch: (e) =>
      return unless @touch.enabled
      
      touch = e.originalEvent.touches[0] or e.originalEvent.changedTouches[0]

            
      true
      
    _hover: (e) =>
      ###
      Shows/hides rondell controls.
      Starts/pauses autorotation.
      Updates active rondell id.
      ###
      
      # Start or stop auto rotation if enabled
      paused = @autoRotation.paused
      if e.type is 'mouseover'
        # Set active rondell id if hovered
        Rondell.activeRondell = @id
        
        @hovering = true
        unless paused
          @autoRotation.paused = true
