Provided an option to limit zooming to certain ratio

Hi, the functionality of limiting the zooming by some factor was something that I was missing in your plugin,
and I thought that this might come useful to others too.