title: Espresso RecyclerView scrollTo throwing AppNotIdleException
body: <p>I'm trying to test a RecyclerView using Espresso's framework and currently hitting into the following issue - </p>
  
  <p>Espresso's method</p>
  
  <pre><code>    fun scrollToItemAndCheck() {
           onView(withId(R.id.recycler_view))
                .perform(scrollTo&lt;RecyclerView.ViewHolder(hasDescendant(withText("item text"))))
  }
  </code></pre>
  
  <p>RecyclerView - </p>
  
  <pre><code>&lt;android.support.v7.widget.RecyclerView
          android:id="@+id/recycler_view"
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:scrollbars="vertical" /&gt;
  </code></pre>
  
  <p><strong>Issue</strong> - <code>scrollToItemAndCheck()</code> throws an AppNotIdleException. </p>
  
  <p><strong><em>Note - The same method starts working fine when I wrap the <code>RecyclerView</code> inside a <code>FrameLayout</code></em></strong></p>
  
  <pre><code>&lt;FrameLayout&gt;
      android:layout_width="match_parent"
      android:layout_height="match_parent"
     &lt;android.support.v7.widget.RecyclerView
              android:id="@+id/recycler_view"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:scrollbars="vertical" /&gt;
  &lt;/FrameLayout&gt;
  </code></pre>
  
  <p>Any clue as to what's going on?</p>