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

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