makes contents of the task expand dynamically