Panel menu dynamic active state