move style to head