Changed how elements are hidden while loading. This fixes that the page is very long initially.