Add zoomstart and zoomend events. Fixes #1422.