moved the repetitive transform-origin into a shared style