Update README.md
Performance update: avoid setting transition repeatedly when panning