fixed logarithmic zoom. renamed to 'zoomFunction'