title: Collapsing toolbar and nestedscrollview not scrolling smoothly
body: <p>Nested scroll view scrolls smoothly on scrolling down but on scroll up it is sluggish.Collapsing toolbar(with an image view and framelayout) upon scrolling up doesn't renders its content(remains blank). I have tried every flag in collapsing toolbar.</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/coordinatorLayout"
  android:layout_width="match_parent"
  android:layout_height="match_parent"
  android:fitsSystemWindows="true"&gt;
  
  
  &lt;android.support.design.widget.AppBarLayout
      android:id="@+id/appbar"
      android:layout_width="match_parent"
      android:layout_height="wrap_content"
      android:fitsSystemWindows="true"
      android:theme="@style/ThemeOverlay.AppCompat.Dark.ActionBar"&gt;
  
      &lt;android.support.design.widget.CollapsingToolbarLayout
          android:id="@+id/collapsing_toolbar"
          android:layout_width="match_parent"
          android:layout_height="wrap_content"
          android:fitsSystemWindows="true"
  
          app:contentScrim="?attr/colorPrimary"
  
          app:layout_scrollFlags="scroll|exitUntilCollapsed"&gt;
  
  
          &lt;ImageView
              android:id="@+id/backdrop"
              android:layout_width="match_parent"
              android:layout_height="wrap_content"
              android:minHeight="100dp"
              android:fitsSystemWindows="true"
              android:scaleType="centerCrop"
              android:src="@drawable/pic"
              app:layout_collapseMode="parallax"
              app:layout_collapseParallaxMultiplier="0.5"
              app:layout_scrollFlags="scroll|enterAlways|enterAlwaysCollapsed"/&gt;
  
          &lt;include
              android:id="@+id/framelayout"
              layout="@layout/header_layout"
              app:layout_scrollFlags="scroll|enterAlways|enterAlwaysCollapsed"
              android:minHeight="100dp"/&gt;
  
  
      &lt;/android.support.design.widget.CollapsingToolbarLayout&gt;
  &lt;/android.support.design.widget.AppBarLayout&gt;
  
  
  &lt;!-- Your Scrollable View --&gt;
  &lt;android.support.v4.widget.NestedScrollView
      android:id="@+id/nested"
      android:layout_width="match_parent"
      android:layout_height="match_parent"
      android:layout_gravity="fill_vertical"
  
      app:layout_behavior="@string/appbar_scrolling_view_behavior"&gt;
  
      &lt;LinearLayout
          android:layout_width="match_parent"
          android:layout_height="match_parent"
          android:orientation="vertical"
          android:paddingTop="24dp"&gt;
  
  
  
        &lt;/LinearLayout&gt;
  
  
  
  &lt;/android.support.v4.widget.NestedScrollView&gt;
  
  
  &lt;android.support.v7.widget.Toolbar
      android:id="@+id/toolbar"
      android:layout_width="match_parent"
      android:layout_height="?attr/actionBarSize"
      android:background="#da1b75"
      android:orientation="horizontal"
      android:textColor="#ffffff"
      android:theme="@style/ThemeOverlay.AppCompat.Light"
      app:layout_anchor="@id/appbar"
      app:layout_collapseMode="pin"
      app:title=""&gt;
  
  
  
  &lt;/android.support.v7.widget.Toolbar&gt;
  </code></pre>
  
  <p></p>