* Less intrusive collapsing implementation
In order for a screen to implement collapsingTopBar, it had to define
a specific set of style properties such as drawUnderTabBar or
drawUnderNavBar. This commit aims to make implementing collapsingTopBar
less intrusive by inferring these properties from hideTitleBarOnScroll.
This commit introduces a few fixes and changes related to
the collapsingTopBar mechanism.
1. Screens are now drawn under bottomTabs if titleBarHideOnScroll
is true.
2. TitleBarHideOnScroll can be passed in AppStyle.
3. ScrollView is detected properly after it gets detached due to large
diff in render.
4. Take BottomTabs height into account when measuring collapsing
screens.
Pass the style parameter to DrawerControllerIOS (#578)
Now the style parameter is used inside RCCDrawerController but it's not passed through startTabBasedApp/startSingleScreenApp. Passing the style parameter allows to disable sidebar shadow trough style.drawerShadow.
Take scaledTouchSlop into account when calculating CollapseAmount to
prevent the TopBar from translating after every touch event, even
when the users intent was not to scroll in Y direction.