Merge SlidingUpPanelLayout and SlidingDownPanelLayout with layout_gravity