Add separate open() and close() functions

The public API now only offers the toggle() function to interact with the menu. I found it useful to be able to explicitly call a close() or open() function.