injectIntoTab() rewritten. issues: 1) togglePanel() was "hardcoded"; 2) callback param was ignored
PP will now remember if panel was collapsed or not
Merge pull request #23 from kroleg/feature/enchance-remember-panel-state_2

(updated) PP will now remember if panel was collapsed or not