Added scaling and zooming.