Added smooth scaling for imgnifier.