Separated panMatrix from pan

zoom still not focusing on correct area