Clean up resizescreen a bit

Moved things around a bit, cleaned up, ect, to make it more normal looking. Removed $real, as $x and $y does the same thing.