Added ability to resize the screen