added scroll events to emscripten and hide the grid plane