The documentation is vague, I need to know how to customize the open/close animation and also call a function on open. Thank you