Toggle widget

Open and close widget conditionally
This function closes the widget if it is open and opens it if it is closed.
window.$imber.toggle()