I want to zoom in and pan at the same time without going leaving the bounds. How can I achieve this ??