use scheme for panzoom viewer initialization code