Added panTo/zoom functionality