refactor: move disabling of zoomIn and zoomOut into separate functions