Move resize handler back into window manager

The window manager is too a large part self-contained. Having the resize handle
in a different file breaks this and since the resize handle is only used by the
window manager it fits better in its file than in its own.