added translate/text size functionality