moved pointer display code to PointerOverlay.js, see #111