hooks up toggle panel comamnd