adjust text size according to device resolution