Automatically set zoom level

Title says it all.

Merging