fixed behavior and added css for widget sizes