Made the page changey thing actually work