Resizing working, there may be bugs.
Still have to make the user be able to change the size himself.