dynamically add ul as the widget