update pkgs. extend panel config. rewrite toggle mechanism and event emitters. fix stylings for the panels