question: public void slide ( SLIDE slide ) { if ( slide == SLIDE . UP ) { if ( ! isPanelShown ( ) ) { int position = 0 ; if ( items != null ) { position = items . size ( ) / 2 ; } slideUp ( position ) ; } } else { hidePanelPickerUI ( ) ; } }
target:  Slide the panel to the desired direction.