 
   componentWillReceiveProps: (nextProps) ->
 
-    nextStackUnreadCount = @getStackUnreadCount nextProps.stack
-    @setState { showWidget : yes }  if nextStackUnreadCount > @getStackUnreadCount()
+    if @props.stack?.getUnreadCount() < nextProps.stack?.getUnreadCount()
+      @setState { showWidget: yes }
 
     @setCoordinates()
 
 
   componentDidMount: ->
 
-    $('.kdscrollview').on 'scroll', @bound 'scrollOnPage'
+    $('.kdscrollview').on 'scroll', @bound 'onScrollPage'
     @setCoordinates()
 
 
   componentWillUnmount: ->
-    $('.kdscrollview').off 'scroll', @bound 'scrollOnPage'
+    $('.kdscrollview').off 'scroll', @bound 'onScrollPage'
 
 
-  scrollOnPage: -> _.debounce =>
+  onScrollPage: -> _.debounce =>
     @setState({ showWidget: no })
   , 500, { leading: yes, trailing: no }
 


makeTitle = ({ template, stack }) ->

  title = _.unescape template?.get 'title'

  return title  unless stack
  if stack.getIn(['config', 'oldOwner'])
    title = stack.get 'title'

  return "#{title}"

          ref='stackTemplateItem'
          href={editorUrl}
          className='HomeAppViewListItem-label'
          onClick={onOpen}
          children={ makeTitle { template, stack } }>
        </a>
        {@renderUnreadCount()}
        {@renderTags()}
      </div>
      {@renderStackUpdatedWidget()}
      <div className='HomeAppViewListItem-description'>
        Last updated <TimeAgo from={template.meta.modifiedAt} />
      </div>
      <div className='HomeAppViewListItem-SecondaryContainer'>
        {@renderButton()}
