deck.selectedPanel

Do not hide panels; the deck element only understands visible panels.
selectedPanel
Type: element
Holds a reference to the currently selected panel within a deck element. Assigning a value to this property will modify the selected panel.