Added scaleing function
Added temporary and permanent zooming