fixed incorrect panel hiding

another panel was added on the page, so the index was off for the panels
I want to hide