make transition in chose template and reindent css