applied https://github.com/ManuelPeinado/FadingActionBar/pull/29