#410 add support collapse-able in search and fix auto open