tying widgets to div