       notificationsContainer.removeClass('is-overflowing')
 
     notificationsContainer.find('.popover-content').css('height', "#{heightPopoverContentNew}px")
+
+  onShow: =>
+    @updateContent()
+    @updateHeight()
 
     # mark all notifications as read
     notificationsContainer.find('.js-markAllAsRead').on('click', (e) =>

    @counterUpdate(0)
    @toggle.popover('destroy')

  resetHeight: ->
    notificationsContainer = $('.js-notificationsContainer')
    notificationsContainer.find('.popover-content').css('height', 'auto')


      processData: true
    )

  updateHeight: =>
    # set height of notification popover
    notificationsContainer  = $('.js-notificationsContainer')
    heightApp               = $('#app').height()
