on max set ResizeBorderThickness to 0

for dragging maximized window from top