title: Make collapsible toolbar automatically collapse/expand
body: <p>How to make a collapsible toolbar in android automatically collapse/expand when the vertical offset goes beyond a specific threshold?    </p>
  
  <p>As in, if the vertical offset is past the half-point of <code>getScrollRange()</code> then the collapsible toolbar should automatically expand, and below that threshold it should collapse.</p>