modify icon switching when expanded