Added scale image and slave window