Hide the action bar according to scroll gesture.