Adding scale option to panningpane.