title: CollapsingToolbarLayout & NestedScrollView don't work together
body: <p>I'm trying to make <code>CollapsingToolbarLayout</code> work with <code>NestedScrollView</code>, but it doesn't follow the scrolling of <code>NestedScrollView</code> correctly. It moves a little bit when the <code>NestedScrollView</code> reaches the top or bottom end, but that's clearly not the intended behavior.</p>
  
  <p>Oh, and the <code>contentScrim</code> covers the <code>ImageView</code> immediately as well.</p>
  
  <p>Here's a video of what happens: <a href="https://youtu.be/1GlTJq5fd0U" rel="nofollow">https://youtu.be/1GlTJq5fd0U</a></p>
  
  <p>And here's the xml:</p>
  
  <pre><code>&lt;android.support.design.widget.CoordinatorLayout xmlns:android="http://schemas.android.com/apk/res/android"
      xmlns:app="http://schemas.android.com/apk/res-auto"
      xmlns:tools="http://schemas.android.com/tools"
      android:id="@+id/articleLayout"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:fitsSystemWindows="true"
      tools:context="com.gmail.senokt16.bosphoruschronicle.ArticleActivity"&gt;
  
  
      &lt;android.support.design.widget.AppBarLayout
          android:id="@+id/articleAppBarLayout"
          android:layout_width="match_parent"
          android:layout_height="256dp"
          android:fitsSystemWindows="true"&gt;
  
          &lt;android.support.design.widget.CollapsingToolbarLayout
              android:id="@+id/articleCollapsingToolbar"
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:fitsSystemWindows="true"
              app:contentScrim="@color/primaryColor"
              app:expandedTitleMarginEnd="64dp"
              app:expandedTitleMarginStart="48dp"
              app:layout_scrollFlags="scroll|exitUntilCollapsed"
              app:toolbarId="@+id/article_app_bar"&gt;
  
              &lt;ImageView
                  android:id="@+id/articleActivityImage"
                  android:layout_width="match_parent"
                  android:layout_height="match_parent"
                  android:fitsSystemWindows="true"
                  app:layout_collapseMode="parallax" /&gt;
  
              &lt;include
                  android:id="@+id/article_app_bar"
                  layout="@layout/article_app_bar" /&gt;
          &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
      &lt;/android.support.design.widget.AppBarLayout&gt;
  
      &lt;android.support.v4.widget.NestedScrollView
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:layout_gravity="fill_vertical"
          android:fitsSystemWindows="true"
          app:layout_behavior="@string/appbar_scrolling_view_behavior"
          app:layout_scrollFlags="scroll|enterAlways"&gt;
  
          &lt;LinearLayout
              android:layout_width="match_parent"
              android:layout_height="match_parent"
              android:orientation="vertical"
              android:paddingTop="24dp"&gt;
  
              &lt;TextView
                  android:id="@+id/articleActivityContents"
                  android:layout_width="match_parent"
                  android:layout_height="wrap_content"
                  android:paddingBottom="30dp"
                  android:paddingLeft="20dp"
                  android:paddingRight="20dp"
                  android:paddingTop="5dp" /&gt;
          &lt;/LinearLayout&gt;
      &lt;/android.support.v4.widget.NestedScrollView&gt;
  
      &lt;android.support.design.widget.FloatingActionButton
          android:id="@+id/articleFAB"
          android:layout_width="wrap_content"
          android:layout_height="wrap_content"
          android:layout_margin="16dp"
          android:clickable="true"
          android:src="@android:drawable/ic_menu_share"
          app:layout_anchor="@id/articleAppBarLayout"
          app:layout_anchorGravity="bottom|right|end" /&gt;
  
  
  &lt;/android.support.design.widget.CoordinatorLayout&gt;
  </code></pre>