accordion animation with JS

to avoid jumpy hardcoded max-height trick