title: RecyclerView inside CoordinatorLayout,AppBarLayout Scrolling issue
body: <p>I have this xml code in fragment:</p>
  
  <pre><code>&lt;CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"                              xmlns:app="http://schemas.android.com/apk/res-auto"                         android:layout_width="match_parent"                    android:layout_height="match_parent"                       android:id="@+id/coordinatorLayout"                      android:fitsSystemWindows="true"&gt;
       &lt;android.support.design.widget.AppBarLayout
              android:id="@+id/appBarLayout"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:theme="@style/AppTheme"
              app:elevation="0dp"&gt;
       &lt;android.support.design.widget.CollapsingToolbarLayout
                  android:layout_width="match_parent"
                  android:layout_height="300dp"
                  app:layout_scrollFlags="scroll"
                  android:id="@+id/collapsingToolbarLayout"
                  app:statusBarScrim="@color/bestColor"&gt;
      &lt;LinearLayout&gt;&lt;/LinearLayout&gt; &lt;!--this elements hide then appbar is collapsed--&gt;
              &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
      &lt;LinearLayout&gt;
      &lt;ImageButton&gt;
       android:id="@+id/profile_header_trophies"
      &lt;/ImageButton&gt;&lt;!-- this elements like a tab,visible if appbar collapsed--&gt;
      &lt;/LinearLayout&gt; 
          &lt;/android.support.design.widget.AppBarLayout&gt;
  
  &lt;android.support.v7.widget.RecyclerView
      android:id="@+id/profile_recyclerView"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      app:layout_behavior="@string/appbar_scrolling_view_behavior"/&gt;
      &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>
  
  <p>in Java Class on Item set ClickListener: </p>
  
  <pre><code>@OnClick(R.id.profile_header_trophies)
      public void profile_header_trophies_clicked() {
          if (myProfile != null) {
              appBarLayout.setExpanded(false, false);
              if (myProfile.getBests().size() == 0) {
                  profile_recyclerView.smoothScrollToPosition(3);
              } else {
                  profile_recyclerView.smoothScrollToPosition(2 + 20);
                  }
              }
  </code></pre>
  
  <p>When I click to <strong>ImageButton</strong>, my <strong>RecyclerView</strong> scrolls to position, everything looks fine.
  But if I put finger on AppBarLayout section (ImageButton) which visible(sticky) on top, and drag to bottom I have a bad scrolling.
  My appbar start expanded, while my Recycler have some elements on top (they are hidden when scrolled).</p>
  
  <p><img src="https://i.stack.imgur.com/fL7oM.gif" alt="enter image description here"></p>
  
  <p>I think this problem is setting behavoir. Because if I scrolling recycler first, AppBar doesnt start expanding, while Recycler not rich top of elements.</p>
  
  <p>Thanks for your answers.</p>