added css and updated widget code.