Refactor, use translate3d (faster)