toggle slide panel, changes maptab option, removes unused jquery code, only shows panel in visualization mdoe