panel position fix
fix
bugfix & jshint
bugfix for toggleFormat selction