Reworked zoom and pan to have some keyboard control.