add translateX/translateY mixin