Added programmatic zoom. Additional comments