Optimizing JS connected with flipping effect of BuildWidget, also a small fix of background of this widget.