added screen scale awareness