implemented resizing for borderless window

moving and resizing when borderless can now be turned on and off, too
(F9, F10)