Simple script used to dynamically resize texts when they are too large for their parent