Adding collapse/expand button to message thread