Added zooming and panning to the mlx scanner demo