fixed bug where header would start too big on first load, and content would sometimes hide on load