Bug fix to css3 mixin translateY e translateZ, also added to-middle state selector