Scale grid optimized

Currently, only work in Chrome