Adding events for collapsable