fixed a widget-width issue for medium size display