Refactor rendering, use CSS transforms