Added margins to widget.

Modified the widget so that margins can be specified. It seems to be the only way to set the height of the widget. If needed I can also update the readme.