title: How to scroll to an item at specific position (that is not in view), in recycler view in android?
body: <p>I have a list of images in a recycler view with a Horizontal Linear Layout. I want to programmatically scroll to say position = 20, while the image at that position is not in view. 
  I have tried using: </p>
  
  <pre><code>recyclerView.scrollToPosition(position);
  </code></pre>
  
  <p>but this only scrolls if the item is in view. I have also tried using <code>smoothScrollBy(x,y)</code> and <code>getLayoutManager().scrollToPosition(position)</code> but it doesn't work. </p>