Edit
I have followed these tutorials to fix this problem.
http://www.truiton.com/2015/06/android-tabs-example-fragments-viewpager/ https://g
This is nothing new with android's coordinate layout and appBar layout; I am sure you won't be able to make it smoother no matter what you do. However
https://github.com/henrytao-me/smooth-app-bar-layout
this could fulfill your requirements; However firstly download the sample app from
https://play.google.com/store/apps/details?id=me.henrytao.smoothappbarlayout
to see if it fits your need.(just to be sure)