diff --git a/src/App.svelte b/src/App.svelte
index c4a4d5e..6ca77fc 100644
--- a/src/App.svelte
+++ b/src/App.svelte
@@ -33,14 +33,37 @@
$: console.log(dialog[$page]);
console.log("Pancake recipe at https://github.com/danbulant/heaventaker");
+
+ var width = window.innerWidth;
+ var height = window.innerHeight;
+ var outerHeight = window.outerHeight;
+ var outerWidth = window.outerWidth;
+
+ /**
+ * @param {UIEvent} e
+ */
+ function resize(e) {
+ width = window.innerWidth;
+ height = window.innerHeight;
+ outerHeight = window.outerHeight;
+ outerWidth = window.outerWidth;
+ }
-