zoom and center using matrix transforms