Making resizable windows