Calculate smooth scrolling speed so that it is approximately the same at every zoom level