private void configureLeftAnimations(){
  for (int i=0; i < leftItems.size(); i++) {
    MenuItem menuItem=leftItems.get(i);
    menuItem.setNextItem(null);
    if (i + 1 != leftItems.size())     menuItem.setNextItem(leftItems.get(i + 1));
  }
}

private void configureLeftAnimations ( ) { for ( int i = 0 ; i < leftItems . size ( ) ; i ++ ) { MenuItem menuItem = leftItems . get ( i ) ; menuItem . setNextItem ( null ) ; if ( i + 1 != leftItems . size ( ) ) menuItem . setNextItem ( leftItems . get ( i + 1 ) ) ; } }
configure show animations of items in top container
