Started on a resizing function

Currently not working any good so it's not activated. Theres problems
with getting it back to original height and width. Feel free to pick
this up because I'm stuck at fixing it. :)