How to properly code a pan & zoom function

Printable View