resize functionality part 1 (lhs text)