Added picture scaling for sw keyboard