some example zoom code that zooms a portion of an image