title: Scroll to the bottom after render a Backbone view
body: <p>I'm currently working on a messaging system using Backbone. I want to scroll to the last element in a CollectionView on render.</p>
  
  <p>I can get this to work after clicking on link on the page, but I want it to happen on the render of the view.</p>
  
  <p>Here's what I'm using in the link, which works:</p>
  
  <pre><code>document.getElementById('message-new-conversation-dialog').scrollIntoView();
  </code></pre>
  
  <p>Here's the view definition:</p>
  
  <pre><code>var ConversationView = LSmixBB.CollectionView.extend({
  
          itemView: MessageView,
          template: "#message-conversation-template",
          onRender: function(){
              document.getElementById('message-new-conversation-dialog').scrollIntoView();
              document.getElementById('global-column-middle-footer1').scrollIntoView();
          }
  
      });
  </code></pre>
  
  <p>I presume it doesn't work because there's nothing on the page inside onRender?</p>
  
  <p>I am very new to web development, so be gentle!</p>
  
  <p>Anyway, I'd really appreciate any help!</p>