added method getVisibleWidgetHashIndex to DeckPanel class