Implement scaling with pinch gesture (but it is flickering)