fixed formatting
added option to render widget as an overlay instead