     frameDurationIntervalId: null
     inFlipbookMode: @props.allowFlipbook
     invert: false
+    isGroupSubject: false
     promptingToSignIn: false
 
   getInitialFrame: ->

    initialFrame

  componentDidMount: () ->
    if @props.subject?.metadata['#subject_group_id']?
      @setState
        inFlipbookMode: false

  componentWillReceiveProps: (nextProps) ->
    unless nextProps.subject is @props.subject

      'subject-viewer--flipbook': @state.inFlipbookMode
      'subject-viewer--invert': @state.invert
      "subject-viewer--layout-#{@props.workflow?.configuration?.multi_image_layout}": @props.workflow?.configuration?.multi_image_layout
      'subject-viewer--layout-grid4': @state.isGroupSubject
    })

    isIE = 'ActiveXObject' of window
