fixed issue with header not showing on page load, and added header css transition