WPF custom resizable window - C#