added ui scaling