added dynamic handling of my accordion menu