use translate in animations for better performance