Allow specifying the zoom fraction

Fixes #40