handle the scroll direction
by default handle the scrolling direction using isStackFromBottom()
fix the sample app with AppCompat v21
allow external calls via onScrolled(), like for RecyclerView.OnScrollListener