Modified to perform collapse / expand action only when indicator is clicked