removed refactor, still small double clicking bug due to show.bs.collapse transition