Ensures that the size of the widget is between 1 and 4
Added a CSS class for the widgets
Clean up: That method is not used anymore
Code refactoring...