Initialize and display the widget div. Close the old one if needed.
The object that will be using this container.
Right-to-left (true) or left-to-right (false).
Optional cleanup function to be run when the widget is closed.
Initialize and display the widget div. Close the old one if needed.