made text positions relative to device resolution