     componentWillReceiveProps: (props) ->
         state =
             active: props.active
+            composing: false
         if props.message.get('id') isnt @props.message.get('id')
             @_markRead @props.message
             state.messageDisplayHTML   = props.settings.get 'messageDisplayHTML'

                                        span className: 'fa fa-long-arrow-right'


    _initFrame: ->
        panel = document.querySelector "#panels > .panel:nth-of-type(2)"
        if panel? and not @state.composing
            panel.scrollTop = 0
        # - resize the frame to the height of its content
        # - if images are not displayed, create the function to display them

            loadContent = (e) =>
                doc = frame.contentDocument or frame.contentWindow?.document
                if doc?
                    styleEl = document.createElement 'style'
                    styleEl.id = "cozystyle"
                    doc.head.appendChild styleEl
