improved camera pan and zoom