diff --git a/data/main.js b/data/main.js
index 7b383ecc..0be5eff6 100644
--- a/data/main.js
+++ b/data/main.js
@@ -2,6 +2,21 @@
// Card Conjurer, by Kyle Burton //
//============================================//
//Hi there :D
+window.onscroll = function() {scrollFunction()};
+window.onresize = function() {scrollFunction()}
+
+function scrollFunction() {
+ if (window.innerWidth > 900) {
+ if (document.body.scrollTop < 70) {
+ document.getElementById("header").style.maxHeight = 100 - document.body.scrollTop + "px";
+ } else {
+ document.getElementById("header").style.maxHeight = "30px";
+ }
+ } else {
+ document.getElementById("header").style.maxHeight = "80px";
+ }
+}
+scrollFunction()
//============================================//
// Anything I Like to Change Often :) //
diff --git a/index.html b/index.html
index f8b6ce69..ec3867ae 100644
--- a/index.html
+++ b/index.html
@@ -14,7 +14,7 @@
-
+
@@ -25,7 +25,7 @@
+
+
+
+
+
+
+
-
-
+
Frame
Text
@@ -74,19 +82,8 @@
Advanced
Download
Planeswalker
-
-