     if 0 < viewing.length <= 6
       @setState
         viewingInstances: viewing
-      history.replaceState @state, '', location.href.replace(location.search, "?taskIds=#{viewing.join(',')}&grep=#{@state.search}")
+      history.replaceState @state, '', location.href.replace(location.search, "?taskIds=#{viewing.join(',')}&view=#{@getViewString(@state.splitView)}&grep=#{@state.search}")
       if viewing.length is 1
         document.title = "Tail of #{@props.path.replace('$TASK_ID', viewing[0])}"
       else

    ajaxErrors = @state.viewingInstances.map((taskId) =>
      @props.ajaxError[taskId]
    )
    <div className="col-md-12 tail-column">
      <InterleavedTail
        ref="tail"
        path={@props.path}
        requestId={@props.requestId}
        taskId={@state.viewingInstances[0]}
        offset={@props.offset}
        logLines={logLines}
        ajaxErrors={ajaxErrors}
        activeTasks={@props.activeTasks}
        viewingInstances={@state.viewingInstances}
        search={@state.search} />
    </div>

  render: ->
    <div>

    localStorage.getItem('singularityLogColor')

  toggleView: ->
    splitView = !@state.splitView
    @setState
      splitView: splitView
    viewString = @getViewString(splitView)
    history.replaceState @state, '', location.href.replace(location.search, "?taskIds=#{@state.viewingInstances.join(',')}&view=#{viewString}&grep=#{@state.search}")

  getViewString: (splitView) ->
    if splitView then 'split' else 'unified'

  toggleHelp: ->
    vex.open
