Added two methods for handling screen resizing. They are untested, but they should work.