Fix reverted pull request #735: Initial Accordion state

This is a fix for th PR #735. 

I remove the gaAccordionController and move its stuff in th MainController to avoid scope conflict wit ImportXXXPopupShown variables.