adding pointermoving