javascript to keep the panelMenu open