Is there a way we can make text to expand/collapse, the way we do using javascript?