Refactor widget display to separate partial view.