fix the resize problem of the widgets
Merge pull request #8 from react-epfl/fix_resize_problem

fix the resize problem of the widgets