Added a primitive zoom function.