Fix sidebar code (hacked up, depends on adding html to widget def in admin UI