made template hidden before loading
moving css around