Better animation by using translate