added pan transform mode